Accordions
Accordion using details
Who is Eamonn?
A guy from TN who makes content on the internet.
What kind of content does he make?
He focuses on productivity tips using coding and spreadsheets. He makes YouTube videos and writes articles on freeCodeCamp, LinkedIn and his personal newsletter.
What does he do for fun?
Hangs out with his wife and four kids, and runs ultramarathons.
Accordion with some JavaScript added
What's the difference?
We're adding JavaScript to these three.
Why add JavaScript?
We can make it so only one panel can be open at a time.
Try clicking each of these
See how one closes as soon as the other opens?.